Skip to content

Swap image bump CI to dispatch strategy - #24

Merged
Angelin01 merged 1 commit into
mainfrom
bro-1433-image-bump-from-release
Sep 8, 2026
Merged

Angelin01 merged 1 commit into
mainfrom
bro-1433-image-bump-from-release

Conversation

@Angelin01

@Angelin01 Angelin01 commented Sep 8, 2026 •

Copy link
Copy Markdown
Collaborator

Swaps to a dispatch strategy for image bumps, much simpler.

Validated in #25

@Angelin01 Angelin01 self-assigned this Sep 8, 2026
@Angelin01
Angelin01 marked this pull request as ready for review September 8, 2026 11:48
@Angelin01
Angelin01 requested review from a team and khalifaa55 as code owners September 8, 2026 11:48
@khalifaa55
khalifaa55 requested a lite review from Copilot September 8, 2026 11:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The workflow can currently fail or behave unsafely when VERSION is missing/invalid (shell interpolation + “nothing to commit” path), and should validate inputs and handle no-op bumps cleanly.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR switches the image bump automation for the ccv-cell Helm chart from a scheduled “poll for latest tag” workflow to an explicit dispatch-driven workflow, where a caller supplies the target image tag/version.

Changes:

  • Replace the hourly cron trigger with repository_dispatch (image-bump) and add a workflow_dispatch input (version).
  • Simplify the workflow to directly set aggregator/verifier image tags to the provided version and open a PR.
File summaries
File Description
.github/workflows/helm-ccv-cell-image-bump.yml Move to dispatch-based bumping and simplify PR creation logic by taking an explicit VERSION input/payload.
Review details

Suppressed comments (1)

.github/workflows/helm-ccv-cell-image-bump.yml:56

  • If the requested ${VERSION} is already present in values.yaml, git commit will fail with "nothing to commit" (because this workflow no longer gates on needs_bump), causing the whole run to fail. Add a guard that exits successfully when no diff is produced after the sed updates.
          git add "$VALUES"
          git commit -m "bump ccv images to ${VERSION}"
          git push origin "$branch"
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/helm-ccv-cell-image-bump.yml
@Angelin01
Angelin01 force-pushed the bro-1433-image-bump-from-release branch 2 times, most recently from a9a5e8f to 0130bad Compare September 8, 2026 12:10
@Angelin01
Angelin01 force-pushed the bro-1433-image-bump-from-release branch from 0130bad to 00679bf Compare September 8, 2026 12:13
@khalifaa55

khalifaa55 commented Sep 8, 2026 •

Copy link
Copy Markdown
Collaborator

Why are we setting the same tag for the aggregator and verifier?

@Angelin01

Copy link
Copy Markdown
Collaborator Author

Why are we setting the same tag for the aggregator and verifier?

Unfortunately, just matching the behavior from upstream at the moment. GCP Marketplace kind-of requires all tags to be the same, and upstream is going to release like that for now. So I matched it here for simplicity.

See this step: https://github.com/smartcontractkit/chainlink-ccv/blob/main/.github/workflows/release-publish.yaml#L64-L97

All use the same ${{ github.ref_name }} for the version

@Angelin01
Angelin01 merged commit d25edcf into main Sep 8, 2026
3 checks passed
@Angelin01
Angelin01 deleted the bro-1433-image-bump-from-release branch September 8, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants